<?php

use App\Http\Controllers\Admin;
use App\Http\Controllers;
use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

// 后台接口

//后台管理员登录
Route::post('admin/login/login', [Admin\LoginController::class, 'login']);
Route::get('admin/login/getCaptcha', [Admin\LoginController::class, 'getCaptcha']); //获取图形验证码
Route::get('slideVerify/getCaptcha', [App\Http\Controllers\SlideVerifyController::class, 'getCaptcha']); //获取滑动验证码参数

Route::get('text/bookTypesFilterList', [App\Http\Controllers\TextController::class, 'bookTypesFilterList']); //书籍类型筛选列表(用于下拉框选择)

Route::get('text/getCityAll', [App\Http\Controllers\TextController::class, 'getCityAll']); //获取城市列表

//文件上传
Route::post('/uploads/files', [App\Http\Controllers\UploadsFileController::class, 'commonUpload']); //公共文件上传


Route::middleware(['check.admin.header.token'])->prefix('admin')->group(function () {


    /**
     * 管理员管理
     */
    Route::get('/manage/filterList', [Admin\ManageController::class, 'filterList']);
    Route::get('/manage/list', [Admin\ManageController::class, 'lists']);
    Route::get('/manage/detail', [Admin\ManageController::class, 'detail']);
    Route::post('/manage/add', [Admin\ManageController::class, 'add']);
    Route::post('/manage/change', [Admin\ManageController::class, 'change']);
    Route::post('/manage/del', [Admin\ManageController::class, 'del']);
    Route::post('/manage/changePwd', [Admin\ManageController::class, 'manageChangePwd']); //修改密码
    Route::post('/manage/changeSelfPwd', [Admin\ManageController::class, 'manageChangeSelfPwd']); //修改自己的密码


    /**
     * 应用显示灰色
     */
    Route::get('/appViewGray/list', [Admin\AppViewGrayController::class, 'lists']); // 列表
    Route::get('/appViewGray/detail', [Admin\AppViewGrayController::class, 'detail']); // 详情
    Route::post('/appViewGray/add', [Admin\AppViewGrayController::class, 'add']); // 新增
    Route::post('/appViewGray/change', [Admin\AppViewGrayController::class, 'change']); // 编辑
    Route::post('/appViewGray/del', [Admin\AppViewGrayController::class, 'del']); // 删除


    /**
     * 协议规则
     */
    Route::get('/userProtocol/getProtocol', [Admin\UserProtocolController::class, 'getProtocol']); //获取用户协议
    Route::post('/userProtocol/setProtocol', [Admin\UserProtocolController::class, 'setProtocol']); //配置用户协议


    /**
     * 新闻类型
     */
    Route::get('/newsType/filterList', [Admin\NewsTypeController::class, 'filterList']); // 筛选列表
    Route::get('/newsType/list', [Admin\NewsTypeController::class, 'lists']); // 列表
    Route::get('/newsType/detail', [Admin\NewsTypeController::class, 'detail']); // 详情
    Route::post('/newsType/add', [Admin\NewsTypeController::class, 'add']); // 新增
    Route::post('/newsType/change', [Admin\NewsTypeController::class, 'change']); // 编辑
    Route::post('/newsType/del', [Admin\NewsTypeController::class, 'del']); // 删除

    /**
     * 新闻
     */
    Route::get('/news/list', [Admin\NewsController::class, 'lists']); // 列表
    Route::get('/news/detail', [Admin\NewsController::class, 'detail']); // 详情
    Route::post('/news/add', [Admin\NewsController::class, 'add']); // 新增
    Route::post('/news/change', [Admin\NewsController::class, 'change']); // 编辑
    Route::post('/news/del', [Admin\NewsController::class, 'del']); // 删除
    Route::post('/news/topAndCancel', [Admin\NewsController::class, 'topAndCancel']); // 置顶与取消置顶

    /**
     * 资源类型
     */
    Route::get('/resourceRecomType/filterList', [Admin\ResourceRecomTypeController::class, 'filterList']); // 筛选列表
    Route::get('/resourceRecomType/list', [Admin\ResourceRecomTypeController::class, 'lists']); // 列表
    Route::get('/resourceRecomType/detail', [Admin\ResourceRecomTypeController::class, 'detail']); // 详情
    Route::post('/resourceRecomType/add', [Admin\ResourceRecomTypeController::class, 'add']); // 新增
    Route::post('/resourceRecomType/change', [Admin\ResourceRecomTypeController::class, 'change']); // 编辑
    Route::post('/resourceRecomType/del', [Admin\ResourceRecomTypeController::class, 'del']); // 删除
    /**
     * 资源
     */
    Route::get('/resourceRecom/list', [Admin\ResourceRecomController::class, 'lists']); // 列表
    Route::get('/resourceRecom/detail', [Admin\ResourceRecomController::class, 'detail']); // 详情
    Route::post('/resourceRecom/add', [Admin\ResourceRecomController::class, 'add']); // 新增
    Route::post('/resourceRecom/change', [Admin\ResourceRecomController::class, 'change']); // 编辑
    Route::post('/resourceRecom/del', [Admin\ResourceRecomController::class, 'del']); // 删除
    Route::post('/resourceRecom/topAndCancel', [Admin\ResourceRecomController::class, 'topAndCancel']); // 置顶与取消置顶
    /**
     * 数字阅读类型
     */
    Route::get('/digitalType/list', [Admin\DigitalTypeController::class, 'lists']);
    Route::get('/digitalType/detail', [Admin\DigitalTypeController::class, 'detail']);
    Route::post('/digitalType/add', [Admin\DigitalTypeController::class, 'add']);
    Route::post('/digitalType/change', [Admin\DigitalTypeController::class, 'change']);
    Route::post('/digitalType/del', [Admin\DigitalTypeController::class, 'del']);
    Route::get('/digitalType/filterList', [Admin\DigitalTypeController::class, 'filterList']); //数字阅读类型列表（用于筛选）


    /**
     * 数字阅读
     */
    Route::get('/digital/list', [Admin\DigitalController::class, 'lists']); // 列表
    Route::get('/digital/detail', [Admin\DigitalController::class, 'detail']); // 详情
    Route::post('/digital/add', [Admin\DigitalController::class, 'add']); // 新增
    Route::post('/digital/change', [Admin\DigitalController::class, 'change']); // 编辑
    Route::post('/digital/del', [Admin\DigitalController::class, 'del']); // 删除
    Route::post('/digital/sortChange', [Admin\DigitalController::class, 'sortChange']); // 数字阅读排序
    Route::post('/digital/cancelAndRelease', [Admin\DigitalController::class, 'cancelAndRelease']); // 撤销与发布



    /**
     * 活动
     */
    Route::get('/activity/list', [Admin\ActivityController::class, 'lists']); // 列表
    Route::get('/activity/detail', [Admin\ActivityController::class, 'detail']); // 详情
    Route::post('/activity/add', [Admin\ActivityController::class, 'add']); // 新增
    Route::post('/activity/change', [Admin\ActivityController::class, 'change']); // 编辑
    Route::post('/activity/del', [Admin\ActivityController::class, 'del']); // 删除
    Route::post('/activity/cancel', [Admin\ActivityController::class, 'cancel']); // 活动撤销
    Route::post('/activity/release', [Admin\ActivityController::class, 'release']); // 活动发布
    Route::post('/activity/sign', [Admin\ActivityController::class, 'sign']); // 签到
    Route::post('/activity/switchoverType', [Admin\ActivityController::class, 'switchoverType']); // 切换类型
    Route::post('/activity/recomAndCancel', [Admin\ActivityController::class, 'recomAndCancel']); // 活动推荐与取消推荐
    Route::post('/activity/push', [Admin\ActivityController::class, 'push']); // 活动推送 发送模板消息给用户

    /**
     * 活动报名信息管理
     */
    Route::get('/activityApply/activityApplyList', [Admin\ActivityApplyController::class, 'activityApplyList']); // 活动申请列表
    Route::get('/activityApply/activityApplyUser', [Admin\ActivityApplyController::class, 'activityApplyUser']); // 活动人员列表
    Route::post('/activityApply/agreeAndRefused', [Admin\ActivityApplyController::class, 'agreeAndRefused']); // 审核通过 和 拒绝
    Route::post('/activityApply/violateAndCancel', [Admin\ActivityApplyController::class, 'violateAndCancel']); // 活动违规 与 取消违规操作

    /**
     * 活动类型
     */
    Route::get('/activityType/filterList', [Admin\ActivityTypeController::class, 'filterList']); // 筛选列表
    Route::get('/activityType/list', [Admin\ActivityTypeController::class, 'lists']); // 列表
    Route::get('/activityType/detail', [Admin\ActivityTypeController::class, 'detail']); // 详情
    Route::post('/activityType/add', [Admin\ActivityTypeController::class, 'add']); // 新增
    Route::post('/activityType/change', [Admin\ActivityTypeController::class, 'change']); // 编辑
    Route::post('/activityType/del', [Admin\ActivityTypeController::class, 'del']); // 删除



    /**
     * 活动标签
     */
    Route::get('/activityTag/filterList', [Admin\ActivityTagController::class, 'filterList']); // 筛选列表
    Route::get('/activityTag/list', [Admin\ActivityTagController::class, 'lists']); // 列表
    Route::get('/activityTag/detail', [Admin\ActivityTagController::class, 'detail']); // 详情
    Route::post('/activityTag/add', [Admin\ActivityTagController::class, 'add']); // 新增
    Route::post('/activityTag/change', [Admin\ActivityTagController::class, 'change']); // 编辑
    Route::post('/activityTag/del', [Admin\ActivityTagController::class, 'del']); // 删除



    /**
     * 权限
     */
    Route::get('/permission/list', [Admin\PermissionController::class, 'permissionList']); // 权限列表
    Route::get('/permission/tree', [Admin\PermissionController::class, 'permissionTree']); // 权限树形列表
    Route::get('/permission/detail', [Admin\PermissionController::class, 'permissionDetail']); // 权限详情
    Route::post('/permission/add', [Admin\PermissionController::class, 'permissionInsert']); // 权限新增
    Route::post('/permission/change', [Admin\PermissionController::class, 'permissionChange']); // 权限编辑
    Route::post('/permission/del', [Admin\PermissionController::class, 'permissionDel']); // 权限删除
    Route::post('/permission/orderChange', [Admin\PermissionController::class, 'permissionOrderChange']); // 更改权限排序
    Route::get('/permission/permissionCopy', [Admin\PermissionController::class, 'permissionCopy']); // 复制权限记录
    Route::post('/permission/permissionStick', [Admin\PermissionController::class, 'permissionStick']); // 粘贴权限记录

    /**
     * 角色
     */
    Route::get('/role/list', [Admin\RoleController::class, 'roleList']); // 角色列表
    Route::get('/role/filterList', [Admin\RoleController::class, 'roleFilterList']); // 角色列表 （筛选使用）
    Route::get('/role/detail', [Admin\RoleController::class, 'roleDetail']); // 角色详情
    Route::post('/role/add', [Admin\RoleController::class, 'roleAdd']); // 角色新增
    Route::post('/role/change', [Admin\RoleController::class, 'roleChange']); // 角色编辑
    Route::post('/role/del', [Admin\RoleController::class, 'roleDel']); // 角色删除



    /**
     * banner管理
     */
    Route::get('/banner/list', [Admin\BannerController::class, 'lists']); // 列表
    Route::get('/banner/detail', [Admin\BannerController::class, 'detail']); // 详情
    Route::post('/banner/add', [Admin\BannerController::class, 'add']); // 新增
    Route::post('/banner/change', [Admin\BannerController::class, 'change']); // 编辑
    Route::post('/banner/del', [Admin\BannerController::class, 'del']); // 删除
    Route::post('/banner/cancelAndRelease', [Admin\BannerController::class, 'cancelAndRelease']); // 撤销 和 发布
    Route::post('/banner/sortChange', [Admin\BannerController::class, 'sortChange']); // banner 图排序



    /**
     * 积分设置
     */
    Route::get('/scoreInfo/list', [Admin\ScoreInfoController::class, 'lists']); // 积分规则列表
    Route::post('/scoreInfo/change', [Admin\ScoreInfoController::class, 'change']); // 修改积分规则
    Route::get('/scoreInfo/scoreLog', [Admin\ScoreInfoController::class, 'scoreLog']); // 积分变动记录
    Route::post('/scoreInfo/scoreChange', [Admin\ScoreInfoController::class, 'scoreChange']); // 调整用户积分


    Route::get('/scoreInfo/customScoreRule', [Admin\ScoreInfoController::class, 'customScoreRule']); // 获取自定义积分规则
    Route::post('/scoreInfo/customScoreRuleChange', [Admin\ScoreInfoController::class, 'customScoreRuleChange']); // 设置自定义积分规则

    /**
     * 违规设置
     */
    Route::get('/violateConfig/detail', [Admin\ViolateConfigController::class, 'detail']); // 详情
    Route::post('/violateConfig/change', [Admin\ViolateConfigController::class, 'change']); // 修改违规设置

    /**
     * 用户管理
     */
    Route::get('/userInfo/list', [Admin\UserInfoController::class, 'lists']); //用户列表
    Route::post('/userInfo/clearViolate', [Admin\UserInfoController::class, 'clearViolate']); //  清空违规次数

    /**
     * 用户留言管理
     */
    Route::get('/feedback/list', [Admin\FeedbackController::class, 'lists']); //用户留言列表
    Route::post('/feedback/reply', [Admin\FeedbackController::class, 'reply']); //  用户留言回复


    /**
     * 主页信息
     */
    Route::get('/index/index', [Admin\IndexController::class, 'index']); //首页数据统计
    Route::get('/index/accessStatistics', [Admin\IndexController::class, 'accessStatistics']); //公众号访问统计




    /**
     * 数据分析
     */
    Route::get('/dataAnalysis/accessStatistics', [Admin\DataAnalysisController::class, 'accessStatistics']); // 小程序访问总统计图
    Route::get('/dataAnalysis/resourceAccessNumStatistics', [Admin\DataAnalysisController::class, 'resourceAccessNumStatistics']); // 单本点击量统计排行榜
    Route::get('/dataAnalysis/resourceTypeStatistics', [Admin\DataAnalysisController::class, 'resourceTypeStatistics']); // 类型点击量统计排行榜
    Route::get('/dataAnalysis/resourceBusinessStatistics', [Admin\DataAnalysisController::class, 'resourceBusinessStatistics']); // 资源商统计排行榜
    Route::get('/dataAnalysis/resourceBigTypeStatistics', [Admin\DataAnalysisController::class, 'resourceBigTypeStatistics']); // 资源类型统计排行榜
    Route::get('/dataAnalysis/userReadStatistics', [Admin\DataAnalysisController::class, 'userReadStatistics']); // 用户阅读排行榜
    Route::get('/dataAnalysis/userInviteStatistics', [Admin\DataAnalysisController::class, 'userInviteStatistics']); // 用户邀请量统计



    /**
     * 数据分析 导出
     */
    Route::get('/dataAnalysisExport/resourceAccessNumStatistics', [Controllers\Export\DataAnalysisExport::class, 'resourceAccessNumStatistics']); // 单本点击量统计排行榜导出
    Route::get('/dataAnalysisExport/resourceTypeStatistics', [Controllers\Export\DataAnalysisExport::class, 'resourceTypeStatistics']); // 类型点击量统计排行榜导出
    Route::get('/dataAnalysisExport/resourceBusinessStatistics', [Controllers\Export\DataAnalysisExport::class, 'resourceBusinessStatistics']); // 资源商统计排行榜导出
    Route::get('/dataAnalysisExport/resourceBigTypeStatistics', [Controllers\Export\DataAnalysisExport::class, 'resourceBigTypeStatistics']); // 资源类型统计排行榜
    Route::get('/dataAnalysisExport/userReadStatistics', [Controllers\Export\DataAnalysisExport::class, 'userReadStatistics']); // 用户阅读排行榜导出
    Route::get('/dataAnalysisExport/userInviteStatistics', [Controllers\Export\DataAnalysisExport::class, 'userInviteStatistics']); // 用户邀请量统计导出


    Route::get('/userInfoExport/index', [Controllers\Export\UserInfoExport::class, 'index']); // 用户列表导出





    /**
     * 数字资源banner管理（对接外部数据）
     */
    Route::get('/resourceBanner/getBannerTypeData', [Admin\ResourceBannerController::class, 'getBannerTypeData']); // 获取跳转内容的方式的数据
    Route::get('/resourceBanner/list', [Admin\ResourceBannerController::class, 'lists']); // 列表
    Route::get('/resourceBanner/detail', [Admin\ResourceBannerController::class, 'detail']); // 详情
    Route::post('/resourceBanner/add', [Admin\ResourceBannerController::class, 'add']); // 新增
    Route::post('/resourceBanner/change', [Admin\ResourceBannerController::class, 'change']); // 编辑
    Route::post('/resourceBanner/del', [Admin\ResourceBannerController::class, 'del']); // 删除
    Route::post('/resourceBanner/cancelAndRelease', [Admin\ResourceBannerController::class, 'cancelAndRelease']); // 切换显示方式
    Route::post('/resourceBanner/sortChange', [Admin\ResourceBannerController::class, 'sortChange']); // banner 图排序


    /**
     * 数字资源总数据管理(对外资源)
     */
    Route::get('/resourceTotal/filterList', [Admin\ResourceTotalController::class, 'filterList']);
    Route::get('/resourceTotal/list', [Admin\ResourceTotalController::class, 'lists']);
    Route::get('/resourceTotal/detail', [Admin\ResourceTotalController::class, 'detail']);
    Route::post('/resourceTotal/del', [Admin\ResourceTotalController::class, 'del']);
    Route::post('/resourceTotal/recomAndCancel', [Admin\ResourceTotalController::class, 'recomAndCancel']); //推荐与取消推荐


    /**
     * 数字资源总数据大类型管理（对接对外资源）（系统内定，只能修改，不能添加）
     */
    Route::get('/resourceType/filterList', [Admin\ResourceTypeController::class, 'filterList']); //数字阅读类型列表（用于筛选）
    Route::get('/resourceType/list', [Admin\ResourceTypeController::class, 'lists']);
    Route::get('/resourceType/detail', [Admin\ResourceTypeController::class, 'detail']);
    //  Route::post('/resourceType/add', [Admin\ResourceTypeController::class, 'add']);
    Route::post('/resourceType/change', [Admin\ResourceTypeController::class, 'change']);
    // Route::post('/resourceType/del', [Admin\ResourceTypeController::class, 'del']);
    Route::post('/resourceType/cancelAndReleaseNew', [Admin\ResourceTypeController::class, 'cancelAndReleaseNew']); //隐藏 和 显示(是否显示最新上架)
    Route::post('/resourceType/cancelAndReleaseReadList', [Admin\ResourceTypeController::class, 'cancelAndReleaseReadList']); //隐藏 和 显示(是否显示阅读榜单)

    /**
     * 数字资源总数据类型管理（对接对外资源）
     */
    Route::get('/resourceTotalType/filterList', [Admin\ResourceTotalTypeController::class, 'filterList']); //数字阅读类型列表（用于筛选）
    Route::get('/resourceTotalType/list', [Admin\ResourceTotalTypeController::class, 'lists']);
    Route::get('/resourceTotalType/detail', [Admin\ResourceTotalTypeController::class, 'detail']);
    Route::post('/resourceTotalType/add', [Admin\ResourceTotalTypeController::class, 'add']);
    Route::post('/resourceTotalType/change', [Admin\ResourceTotalTypeController::class, 'change']);
    Route::post('/resourceTotalType/del', [Admin\ResourceTotalTypeController::class, 'del']);

    /**
     * 数字资源类型对应对资源管理
     */
    Route::get('/resourceTotalTypeIntention/getResourceTotalTypeResourceData', [Admin\ResourceTotalTypeIntentionController::class, 'getResourceTotalTypeResourceData']); //获取相应的数据
    Route::get('/resourceTotalTypeIntention/list', [Admin\ResourceTotalTypeIntentionController::class, 'lists']);
    Route::post('/resourceTotalTypeIntention/add', [Admin\ResourceTotalTypeIntentionController::class, 'add']);
    Route::post('/resourceTotalTypeIntention/del', [Admin\ResourceTotalTypeIntentionController::class, 'del']);


    /**
     * 资源书单推荐
     */
    Route::get('/resourceReadingList/filterList', [Admin\ResourceReadingListController::class, 'filterList']); //  筛选列表
    Route::get('/resourceReadingList/list', [Admin\ResourceReadingListController::class, 'lists']); //  列表
    Route::get('/resourceReadingList/detail', [Admin\ResourceReadingListController::class, 'detail']); //  详情
    Route::post('/resourceReadingList/add', [Admin\ResourceReadingListController::class, 'add']); // 新增
    Route::post('/resourceReadingList/change', [Admin\ResourceReadingListController::class, 'change']); // 修改
    Route::post('/resourceReadingList/del', [Admin\ResourceReadingListController::class, 'del']); // 删除
    Route::post('/resourceReadingList/cancelAndRelease', [Admin\ResourceReadingListController::class, 'cancelAndRelease']); // 撤销 和 发布

    /**
     * 资源阅读书单书籍表
     */
    Route::get('/resourceReadingListBook/getReadingListBookData', [Admin\ResourceReadingListBookController::class, 'getReadingListBookData']); // 获取相应的数据
    Route::get('/resourceReadingListBook/list', [Admin\ResourceReadingListBookController::class, 'lists']); // 列表
    Route::post('/resourceReadingListBook/add', [Admin\ResourceReadingListBookController::class, 'add']); //添加书籍到书单中
    Route::post('/resourceReadingListBook/del', [Admin\ResourceReadingListBookController::class, 'del']); // 删除（批量筛选）书单里的书籍


    /**
     * 资源（书单形式）推荐
     */
    Route::get('/resourceReadRecom/filterList', [Admin\ResourceReadRecomController::class, 'filterList']); //  筛选列表
    Route::get('/resourceReadRecom/list', [Admin\ResourceReadRecomController::class, 'lists']); //  列表
    Route::get('/resourceReadRecom/detail', [Admin\ResourceReadRecomController::class, 'detail']); //  详情
    Route::post('/resourceReadRecom/add', [Admin\ResourceReadRecomController::class, 'add']); // 新增
    Route::post('/resourceReadRecom/change', [Admin\ResourceReadRecomController::class, 'change']); // 修改
    Route::post('/resourceReadRecom/del', [Admin\ResourceReadRecomController::class, 'del']); // 删除
    Route::post('/resourceReadRecom/cancelAndRelease', [Admin\ResourceReadRecomController::class, 'cancelAndRelease']); // 撤销 和 发布

    /**
     * 资源（书单形式）推荐书籍表
     */
    Route::get('/resourceReadRecomBook/getReadRecomListBookData', [Admin\ResourceReadRecomBookController::class, 'getReadRecomListBookData']); // 获取相应的数据
    Route::get('/resourceReadRecomBook/list', [Admin\ResourceReadRecomBookController::class, 'lists']); // 列表
    Route::post('/resourceReadRecomBook/add', [Admin\ResourceReadRecomBookController::class, 'add']); //添加书籍到书单中
    Route::post('/resourceReadRecomBook/del', [Admin\ResourceReadRecomBookController::class, 'del']); // 删除（批量筛选）书单里的书籍



    /**
     * 数字资源总数据类型管理（系统类型，系统栏目）
     */
    Route::get('/resourceSystemType/filterList', [Admin\ResourceSystemTypeController::class, 'filterList']); //  筛选列表
    Route::get('/resourceSystemType/list', [Admin\ResourceSystemTypeController::class, 'lists']); //  列表
    Route::get('/resourceSystemType/detail', [Admin\ResourceSystemTypeController::class, 'detail']); //  详情
    Route::post('/resourceSystemType/add', [Admin\ResourceSystemTypeController::class, 'add']); // 新增
    Route::post('/resourceSystemType/change', [Admin\ResourceSystemTypeController::class, 'change']); // 修改
    Route::post('/resourceSystemType/del', [Admin\ResourceSystemTypeController::class, 'del']); // 删除
    Route::post('/resourceSystemType/cancelAndRelease', [Admin\ResourceSystemTypeController::class, 'cancelAndRelease']); // 撤销 和 发布
    Route::post('/resourceSystemType/sortChange', [Admin\ResourceSystemTypeController::class, 'sortChange']); // 排序

    /**
     * 数字资源类型对应对资源管理（系统栏目数据）
     */
    Route::get('/resourceSystemTypeIntention/getResourceSystemTypeResourceData', [Admin\ResourceSystemTypeIntentionController::class, 'getResourceSystemTypeResourceData']); // 获取相应的数据
    Route::get('/resourceSystemTypeIntention/list', [Admin\ResourceSystemTypeIntentionController::class, 'lists']); // 列表
    Route::post('/resourceSystemTypeIntention/add', [Admin\ResourceSystemTypeIntentionController::class, 'add']); //添加书籍到书单中
    Route::post('/resourceSystemTypeIntention/del', [Admin\ResourceSystemTypeIntentionController::class, 'del']); // 删除（批量筛选）书单里的书籍


    /**
     * 数字资源类型管理（各资源商自己的类型）
     */
    Route::get('/resourceTypeExternal/filterList', [Admin\ResourceTypeExternalController::class, 'filterList']); // 类型(用于下拉框选择)


    /**
     * 敏感词
     */
    Route::get('/sensitiveWord/filterList', [Admin\SensitiveWordController::class, 'filterList']); //  筛选列表
    Route::get('/sensitiveWord/list', [Admin\SensitiveWordController::class, 'lists']); //  列表
    Route::get('/sensitiveWord/detail', [Admin\SensitiveWordController::class, 'detail']); //  详情
    Route::post('/sensitiveWord/add', [Admin\SensitiveWordController::class, 'add']); // 新增
    Route::post('/sensitiveWord/change', [Admin\SensitiveWordController::class, 'change']); // 修改
    Route::post('/sensitiveWord/del', [Admin\SensitiveWordController::class, 'del']); // 删除
    Route::post('/sensitiveWord/resetSensitiveWordData', [Admin\SensitiveWordController::class, 'resetSensitiveWordData']); // 根据敏感词重置数据

    /**
     * 资源商管理
     */
    Route::get('/resourceBusinessName/filterList', [Admin\ResourceBusinessNameController::class, 'filterList']); //  资源商(用于下拉框选择)筛选列表
    Route::get('/resourceBusinessName/list', [Admin\ResourceBusinessNameController::class, 'lists']); //  获取资源商列表
    Route::get('/resourceBusinessName/getResourceTypeListByBusinessNameId', [Admin\ResourceBusinessNameController::class, 'getResourceTypeListByBusinessNameId']); //  根据资源商获取对应类型列表
    // Route::get('/resourceBusinessName/getResourceTypeFilterListByBusinessNameId', [Admin\ResourceBusinessNameController::class, 'getResourceTypeFilterListByBusinessNameId']); //  根据资源商获取对应（筛选）类型列表
    Route::get('/resourceBusinessName/getResourceListByBusinessNameId', [Admin\ResourceBusinessNameController::class, 'getResourceListByBusinessNameId']); // 根据资源商id获取资源
    Route::post('/resourceBusinessName/syncData', [Admin\ResourceBusinessNameController::class, 'syncData']); // 自动同步数据，使用程序自动调用命令行执行同步操作
    Route::post('/resourceBusinessName/changeTemplate', [Admin\ResourceBusinessNameController::class, 'changeTemplate']); // 修改模版
    Route::post('/resourceBusinessName/cancelAndRelease', [Admin\ResourceBusinessNameController::class, 'cancelAndRelease']); // 隐藏 和 显示
    Route::post('/resourceBusinessName/sortChange', [Admin\ResourceBusinessNameController::class, 'sortChange']); // 排序


    /**
     * 乐儿数据更新
     */
    Route::get('/leerDataExport/template', [Controllers\Export\LeerDataExport::class, 'template']); //  乐儿数据模板导出
    Route::post('/leerDataImport/index', [Controllers\Import\LeerDataImport::class, 'index']); //  乐儿数据管理导入





});
